﻿namespace Signit.Sdk.Http.Webhook
{
    public class WebhookDataBase
    {
        public string Event { get; set; }
        public SourceType Source { get; set; }
        public TargetType Target { get; set; }
        public bool NeedCallback { get; set; }

        public class SourceType
        {
            public string Platform { get; set; }
            public string Destination { get; set; }
        }

        public class TargetType
        {
            public string WebhookWsid { get; set; }
            public string Destination { get; set; }
        }
    }
}
